KVERS = $(shell uname -r)

#kernel module
obj-m +=globalfifo.o

#specific flag for the module compilation.
#EXTRA_CFLAGS=-g -O0

build: globalfifo

globalfifo:
	make -C /lib/modules/$(KVERS)/build/ M=$(PWD) modules
clean:
	make -C /lib/modules/$(KVERS)/build/ M=$(PWD) clean

signal:
	gcc -o bin/singal signal/signal.c

anotify:
	gcc -o bin/anotify signal/async_notify.c